function c = capacity(lst)
%CAPACITY Gets the capacity of the list
%
% [ Syntax ]
%   - c = capacity(lst)
%
% [ Description ]
%   - c = capacity(lst) returns the reserved capacity of the list.
%
% [ History ]
%   - Created by Dahua Lin, on Jan 5, 2008
%

c = numel(lst.items);